import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import utils from './util/isAuth.js'

import Element from "element-ui"
import "element-ui/lib/theme-chalk/index.css"
import * as echarts from 'echarts'

import axios from './axios'
import api from './util/api'

Vue.prototype.$axios = axios
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.isAuth = utils
Vue.prototype.API = api

Vue.use(Element)

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
